package com.smartmedical.doctor.medic.mapper;

import com.smartmedical.doctor.medic.domain.dto.param.DoctorUserParam;
import com.smartmedical.doctor.medic.domain.vo.DoctorJobTitleVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface MedicMapper {
    Integer applyJoin(DoctorUserParam doctorUserParam);

    String getJobTitleName(@Param("jobTitleId") int jobTitleId);

    String checkEmailUnique(@Param("email") String email);

    List<String> findSystemImagePic();

    List<DoctorJobTitleVo> findJobTitleList();

    int resetUserPwd(@Param("email") String email, @Param("pwd1") String pwd1, @Param("pwd2") String pwd2);
}
